home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 22
/
Amiga Format AFCD22 (Jan 1998, Issue 106).iso
/
-in_the_mag-
/
converters
/
graphics
/
netpbm
/
manuals
/
pnmdepth.man
< prev
next >
Wrap
Text File
|
1997-11-16
|
874b
|
67 lines
pnmdepth(1) AMIGA (12 January 1991) pnmdepth(1)
NAME
pnmdepth - change the maxval in a portable anymap
SYNOPSIS
pnmdepth newmaxval [pnmfile]
DESCRIPTION
Reads a portable anymap as input. Scales all the pixel
values, and writes out the image with the new maxval.
Scaling the colors down to a smaller maxval will result in
some loss of information.
Be careful of off-by-one errors when choosing the new
maxval. For instance, if you want the color values to be
five bits wide, use a maxval of 31, not 32.
SEE ALSO
pnm(5), ppmquant(1), ppmdither(1)
AUTHOR
Copyright (C) 1989, 1991 by Jef Poskanzer.
Page 1 (printed 3/1/94)